apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: ${info.name}
  namespace: ${info.namespace}
<#if info.resourceVersion??>
  resourceVersion: "${info.resourceVersion}"
</#if>
spec:
  host: owner-demo-server
  subsets:
<#list info.subsets?keys as key>
  - name: "${key}"
    labels:
      version: "${info.subsets[key]}"
</#list>
